package ThreadSync;

public class LearnThreadSync {
	public static void main(String[] args) {
		BankAccount account=new BankAccount();
		Thread husband=new BankThread(account);
		Thread wife=new BankThread(account);
		husband.start();
		wife.start();
		
	}

}
